import React from "react";
import defaultCover from "../../assets/image/登录.webp";
import "./index.scss";
const UserCom = (props) => {
  const { cover = defaultCover } = props;
  return (
    <div className="login">
      <div className="login-box">
        <div className="left-login-box">
          <img alt="" src={cover} />
        </div>
        <div className="right-login-box">{props.children}</div>
      </div>
    </div>
  );
};

export default UserCom;
